// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'

import EPDropDown from '@/components/EPDropDown'
import EPDropDownMenu from '@/components/EPDropDownMenu'
import EPCategoryMenu from '@/components/EPCategoryMenu'
import EPSubMenu from '@/components/EPSubMenu'
import EPSubMenuItem from '@/components/EPSubMenuItem'
import EPHeader from '@/components/EPHeader'
import EPFooter from '@/components/EPFooter'
import EPGoodCell from '@/components/EPGoodCell'
import EPGoodCellItem from '@/components/EPGoodCellItem'

import {post, get} from '../../utils/request';

import "@/assets/base.scss"
import {
    Carousel,
    CarouselItem,
    Loading,
    Message,
    Rate,
} from 'element-ui'

Vue.config.productionTip = false
Vue.use(Carousel);
Vue.use(CarouselItem);
Vue.use(Loading.directive);
Vue.use(Rate);
Vue.prototype.$loading = Loading.service;
Vue.component(Message.name,Message)
Vue.prototype.$message = Message;

Vue.component(EPDropDown.name, EPDropDown);
Vue.component(EPDropDownMenu.name, EPDropDownMenu);
Vue.component(EPCategoryMenu.name, EPCategoryMenu);
Vue.component(EPSubMenu.name, EPSubMenu);
Vue.component(EPSubMenuItem.name, EPSubMenuItem);
Vue.component(EPHeader.name, EPHeader);
Vue.component(EPFooter.name, EPFooter);
Vue.component(EPGoodCellItem.name,EPGoodCellItem);

new Vue({
    el: "#app",
    name: "ep-app",
    data() {
        return {}
    },
    methods: {}
})


/* eslint-disable no-new */

